Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Manage Windows Short File Extensions (Windows NT/2000/XP)
Category: Home > Windows > File System > Files and Shortcuts

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Windows evaluates file extensions on the first three characters, therefore 'filename.html' is actually treated as 'filename.htm'. Therefore if you use a command such as 'del *.htm' to delete all the '.htm' files, you will also delete all '.html' files as well.

To turn this setting off, editing the key found below and set the value of 'Win95TruncatedExtensions' to '0', to turn the feature back on, set the value back to '1'.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|Win95TruncatedExtensionsREG_DWORD0x00000000 (0)|
-
|HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Name: Win95TruncatedExtensions
Type: REG_DWORD (DWORD Value)
Value: (0 = disable , 1 = enable)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: August 5, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License